package com.weixing.mall.provider.model.enums.act;

import com.weixing.mall.base.enums.IBaseEnum;

public enum IsPublish implements IBaseEnum<Integer> {

    NOT_PUBLISH(0,"未发布"),
    IS_PUBLISH(1,"已发布");

    private int value;
    private String desp;

    IsPublish(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
